package com.lais.record.common.exception;

import lombok.NoArgsConstructor;

/**
 * @Author: luowen
 * @Description: 项目异常类
 * @Date: Create in 22:39 2019/11/28
 */
@NoArgsConstructor
public class RecordException extends RuntimeException{

    public RecordException(String code ,String message){
        super(message);
        this.code = code;
        this.message= message;
    }



    private String code;

    private String message;

    public String getCode(){
        return this.code;
    }

    public String getMessage(){
        return this.message;
    }
}
